-- GENERATED SPELL FOR [Shienor Wing Guard] --


function spell0_18451(pUnit, Event) --@Shield Bash,n/a--
pUnit:FullCastSpellOnTarget(11972,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18451', 8252, 1)
end

function Sorts_18451(pUnit, Event)
local choix_sorts_18451 = math.random(0, 0)
if choix_sorts_18451 == 0 then
pUnit:RegisterEvent('spell0_18451', 1, 1)
end
end

function mob18451_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18451', math.random(1500, 3000), 1)
end

function mob18451_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18451_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18451_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18451, 1, 'mob18451_Action')
RegisterUnitEvent(18451, 2, 'mob18451_Leave')
RegisterUnitEvent(18451, 3, 'mob18451_Kill')
RegisterUnitEvent(18451, 4, 'mob18451_Die')
